<script type="text/javascript" src="/js/plan/rate.js"></script>
<link rel="stylesheet" type="text/css" href="/css/plan/rate.css"/>
<div id="dialog" style="display:none;">
    <div class="info">
        <div class="validateTips" id="tips"></div>
        <form id="createForm" name="createForm">
            <input type="hidden" name="pr_id" id="pr_id" value=""/>
             <div class="item">
                <span class="userInfoLeft"><{$lang.warehouse}>:</span>
					<span class="userInfoRight">
                <select name="wh_id" id="wh_id"
                        class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>
                    <{section name="loop" loop="$warehouses" }>
                     <option value="<{$warehouses[loop].warehouse_id}>"><{$warehouses[loop].warehouse_name}></option>
                    <{/section}>
                </select>
                    </span>

                <div style="clear: both;"></div>
            </div>
            <div class="item">
                <span class="userInfoLeft">计费<{$lang.type}>:</span>
					<span class="userInfoRight">
                <select name="type"
                        class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>
                    <option value="item">item</option>
                    <option value="pallet">pallet</option>
                    <option value="<{$lang.sku}>"><{$lang.sku}></option>
                </select>
                    </span>

                <div style="clear: both;"></div>
            </div>
            <div class="item">
                <span class="userInfoLeft"><{$lang.currency}><{$lang.code}>:</span>
					<span class="userInfoRight">
                <select name="currency_code" id="currency_code"
                        class="text ui-widget-content">
                    <option value=""><{$lang.pls}></option>
                    <{section name="loop" loop="$currency" }>
                     <option value="<{$currency[loop].currency_code}>"><{$currency[loop].currency_cn_name}></option>
                    <{/section}>
                </select>
                    </span>

                <div style="clear: both;"></div>
            </div>
            <div class="item">
                <span class="userInfoLeft"><{$lang.standard}><{$lang.price}>:</span>
					<span class="userInfoRight">
                        <input type="text" name="price" id="price" class="text ui-widget-content"/>
                    </span>

                <div style="clear: both;"></div>
            </div>
            <div class="item">
                <span class="userInfoLeft">折扣:</span>
					<span class="userInfoRight">
                    	
                        <input type="text" name="discount" id="discount" class="text ui-widget-content"/>
                    </span>

                <div style="clear: both;"></div>
            </div>
            <div class="item">
                <span class="userInfoLeft">区间开始:</span>
					<span class="userInfoRight">
						<input type="text" name="range_start" id="range_start" class="text ui-widget-content"/>
					</span>
            </div>
            <div style="clear: both;"></div>
            <div class="item">
                <span class="userInfoLeft">区间结束:</span>
					<span class="userInfoRight">
						<input type="text" name="range_end" id="range_end" class="text ui-widget-content"/>
					</span>
            </div>
            <div style="clear: both;"></div>
            <div class="item">
                <span class="userInfoLeft"><{$lang.sort}>:</span>
					<span class="userInfoRight">
						<input type="text" name="order" id="order" class="text ui-widget-content"/>
					</span>
            </div>
            <div style="clear: both;"></div>
        </form>
    </div>
</div>

<div id="right_confirm" style="display: none;">
    <p style="text-align:center;font-size: 14px;color: red;font-weight: bold;">
        <{$lang.ok}>要<{$lang.delete}>吗？
    </p>
</div>

<div class="search_div">
    <div id="iTitle">
        <form id="sForm" name="sForm">
            <div style="padding:0">
                计费<{$lang.type}>：<select name="billtype" id="billtype" onchange="submitsearch()"
                             class="text ui-widget-content">
                <option value=""><{$lang.pls}></option>
                <option value="item">item</option>
                <option value="pallet">pallet</option>
                <option value="<{$lang.sku}>"><{$lang.sku}></option>
            </select>
                &nbsp;&nbsp;<input type="button" onclick="submitsearch()" value="<{$lang.search}>" class="button"/>
                <input type="button" id="create" value="<{$lang.add}>" class="button"/>
            </div>
        </form>
    </div>
</div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
    <tbody>
    <tr class="even-tr">
        <th>ID</th>
        <th><{$lang.warehouse}>ID--<{$lang.warehouse}><{$lang.name}></th>
        <th>计费<{$lang.type}></th>
        <th><{$lang.standard}><{$lang.price}></th>
        <th>折扣</th>
        <th><{$lang.currency}></th>
        <th>区间开始</th>
        <th>区间结束</th>
        <th><{$lang.sort}></th>
        <th><{$lang.operation}></th>
    </tr>
    </tbody>
    <tbody id="loadListData"></tbody>
</table>
<div class="pagination"></div>    